Building a Calculus of Data Structures

نویسندگان

  • Viktor Kuncak
  • Ruzica Piskac
  • Philippe Suter
  • Thomas Wies
چکیده

Techniques such as verification condition generation, predicate abstraction, and expressive type systems reduce software verification to proving formulas in expressive logics. Programs and their specifications often make use of data structures such as sets, multisets, algebraic data types, or graphs. Consequently, formulas generated from verification also involve such data structures. To automate the proofs of such formulas we propose a logic (a “calculus”) of such data structures. We build the calculus by starting from decidable logics of individual data structures, and connecting them through functions and sets, in ways that go beyond the frameworks such as Nelson-Oppen. The result are new decidable logics that can simultaneously specify properties of different kinds of data structures and overcome the limitations of the individual logics. Several of our decidable logics include abstraction functions that map a data structure into its more abstract view (a tree into a multiset, a multiset into a set), into a numerical quantity (the size or the height), or into the truth value of a candidate data structure invariant (sortedness, or the heap property). For algebraic data types, we identify an asymptotic many-to-one condition on the abstraction function that guarantees the existence of a decision procedure. In addition to the combination based on abstraction functions, we can combine multiple data structure theories if they all reduce to the same data structure logic. As an instance of this approach, we describe a decidable logic whose formulas are propositional combinations of formulas in: weak monadic second-order logic of two successors, two-variable logic with counting, multiset algebra with Presburger arithmetic, the BernaysSchönfinkel-Ramsey class of first-order logic, and the logic of algebraic data types with the set content function. The subformulas in this combination can share common variables that refer to sets of objects along with the common set algebra operations. Such sound and complete combination is possible because the relations on sets definable in the component logics are all expressible in Boolean Algebra with Presburger Arithmetic. Presburger arithmetic and its new extensions play an important role in our decidability results. In several cases, when we combine logics that belong to NP, we can prove the satisfiability for the combined logic is still in NP. This research is supported in part by the Swiss National Science Foundation Grant “Precise and Scalable Analyses for Reliable Software”. G. Barthe and M. Hermenegildo (Eds.): VMCAI 2010, LNCS 5944, pp. 26–44, 2010. c © Springer-Verlag Berlin Heidelberg 2010 Building a Calculus of Data Structures 27 Presburger (Integer Linear) Arithmetic BAPA sets + cardinality MAPA [PK08c,PK08a] multisets + cardinality WS2S [TW68] monadic 2nd-order over trees C [PST00] two-variable with counting Bernays-Schönfinkel-Ramsey

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A CLOSED FORM SOLUTION FOR FREE VIBRATION ANALYSIS OF TUBE-IN-TUBE SYSTEMS IN TALL BUILDINGS

In this paper the dynamic response of tube-in-tube systems for tall building structures is investigated. Inner and outer tubes are modeled using equivalent continuous orthotropic membranes; in which, each tube is individually modeled by a cantilever box beam. By applying the compatibility conditions on deformation of the two tubes, the governing dynamic equations of the tube-in-tube structure a...

متن کامل

Developing a Feature Extraction of Existing Structures Using an Ambient Vibration Test

The paper aims to extract the dynamic properties of existing structures without utilizing the analytical models. The ambient vibration testing could be used on any type of frame such as concrete, steel and masonry to investigate the structural vulnerability. The method could be the first stage and necessarily for the retrofit process. To achieve this aim, the ambient vibration testing can...

متن کامل

Controlling structures by inverse adaptive neuro fuzzy inference system and MR dampers

To control structures against wind and earthquake excitations, Adaptive Neuro Fuzzy Inference Systems and Neural Networks are combined in this study. The control scheme consists of an ANFIS inverse model of the structure to assess the control force. Considering existing ANFIS controllers, which require a second controller to generate training data, the authors’ approach does not need anot...

متن کامل

PROGRESSIVE COLLAPSE ANALYSIS OF RCC STRUCTURES

The  study  aims  to  investigate  the  progressive  collapse  behaviour  of  RCC  building  under extreme  loading  events  such  as  gas  explosion  in  kitchen,  terroristic  attack,  vehicular collisions  and  accidental  overloads.  The  behavioural  changes  have  been  investigated  and node displacements  are computed when the building is subjected to sudden collapse of the  load beari...

متن کامل

AN EFFICIENT METHOD FOR OPTIMUM PERFORMANCE-BASED SEISMIC DESIGN OF FUSED BUILDING STRUCTURES

A dual structural fused system consists of replaceable ductile elements (fuses) that sustain major seismic damage and leave the primary structure (PS) virtually undamaged. The seismic performance of a fused structural system is determined by the combined behavior of the individual PS and fuse components. In order to design a feasible and economic structural fuse concept, we need a procedure to ...

متن کامل

Semi-active Control of Building Structures using Variable Stiffness Device and Fuzzy Logic

Semi-active control devices, also called “Intelligent” control devices, constitute the positive aspects of both the passive and active control devices. A semi-active control strategy is similar to the active control strategy, but this control device has been shown to be more energy-efficient than active devices. A particular type of semi-active control device, the Variable Stiffness Device (VSD...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010